Chris Pollett > Old
Classes > |
HW#4 --- last modified February 17 2019 19:31:25..Due date: Nov 24
Files to be submitted: Purpose: To experiment with the graphics capabilities of your phone. To experiment with the accelerometer and location based facilities. Related Course Outcomes: LO1 -- Create a working mobile phone application and test it both in a simulator and on a mobile device. LO2 -- Write a mobile application that involves GUI components and makes use of touch events to manipulate these components. LO4 -- Write a mobile application that uses a either the camera, location, or device graphics API. Specification: For this homework, I would like you to create a snow globe app. As too much time spent on Wikipedia tells us, Snow globes (Booles à neige) have a fascinating history dating back to at least the construction of the Eiffel Tower. Your snow globe app should have a background image that makes your app actually look like a snow globe. This image should rotate when you change the phone's orientation. When you tap on this image an alert with your current GPS coordinates should appear. When you shake your device it causes "snow" to become excited and make it start to fall towards the bottom (for the current orientation) of the screen. Further, doing a swipe on the screen should cause it to snow in the direction of the finger swipe. This "snowing" period should taper off and stop after 10 seconds. You should use either the 2D or 3D graphics API of your phone to animate the snow. Point Breakdown
|